package com.example.service;

import com.example.entity.User;

import java.io.IOException;
import java.util.List;
import java.util.Map;
import java.util.concurrent.CompletableFuture;

public interface UserService {

    List<User> queryUserByPage(Map<String,Object> param);

    //批量插入数据
    int batchInsertUser(int num) throws IOException;

    int insertUser(User user);

    User selectUserById(String id);

    List<User> selectUserByParams(Map<String, Object> map);

    String importUserList();
}
